- 
		Home
	
 
	- 
Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories
 
- 
4.1.1
 
- 
Code
 
- 
Classes
 
-  PostModel 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											45 | 
										
																			
											| Dependencies | 
											7 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											350 | 
										
																			
											| Lines of code | 
											189 | 
										
																			
											| Logical lines of code | 
											84 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											59 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| publish() | 
									S  | 
																	60 | 
													4 | 
													12 | 
							
					
				| updateMeta() | 
									S  | 
																	57 | 
													3 | 
													18 | 
							
					
				| deleteMeta() | 
									S  | 
																	58 | 
													3 | 
													17 | 
							
					
				| getPostInstance() | 
									S  | 
																	65 | 
													4 | 
													9 | 
							
					
				| getTermNames() | 
									S  | 
																	59 | 
													3 | 
													15 | 
							
					
				| __construct() | 
									S  | 
																	62 | 
													3 | 
													12 | 
							
					
				| setPostStatus() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| getTerms() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| getTermIDs() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| getPostTypeSingularLabel() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| update() | 
									S  | 
																	69 | 
													1 | 
													7 | 
							
					
				| addMeta() | 
									S  | 
																	67 | 
													1 | 
													8 | 
							
					
				| getMeta() | 
									S  | 
																	66 | 
													1 | 
													9 | 
							
					
				| metadataExists() | 
									S  | 
																	66 | 
													1 | 
													9 | 
							
					
				| postExists() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| getPostType() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getTitle() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getPostStatus() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getPermalink() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getPostEditLink() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| getPostId() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| appendTerms() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| setTerms() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| delete() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| trash() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| stick() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| unstick() | 
									S  | 
																	77 | 
													1 | 
													4 |